<?php

namespace app\common\model\article;

use think\Model;

class ArticleComment extends Model
{
    protected $deleteTime = 'delete_time';
    protected $autoWriteTimestamp = 'datetime';
    
    public function createUser()
    {
        return $this->belongsTo('app\\common\\model\\user\\User');
    }

    public function referUser()
    {
        return $this->belongsTo('app\\common\\model\\user\\User', 'refer_user_id');
    }
}
